home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / source8 / uimage.dfm / uimage.txt
Encoding:
Text File  |  1995-12-22  |  14.4 KB  |  689 lines

  1. object Form1: TForm1
  2.   Left = 6
  3.   Top = 12
  4.   Width = 629
  5.   Height = 435
  6.   ActiveControl = DirectoryListBox1
  7.   Caption = 'Imagelib user'#39's example'
  8.   Font.Color = clBlack
  9.   Font.Height = -12
  10.   Font.Name = 'Times New Roman'
  11.   Font.Style = []
  12.   Menu = MainMenu1
  13.   PixelsPerInch = 96
  14.   Position = poScreenCenter
  15.   OnCreate = FormCreate
  16.   OnDestroy = FormDestroy
  17.   TextHeight = 15
  18.   object Label1: TLabel
  19.     Left = 1
  20.     Top = 364
  21.     Width = 46
  22.     Height = 13
  23.     Caption = 'Strech on'
  24.     Font.Color = clBlack
  25.     Font.Height = -11
  26.     Font.Name = 'MS Sans Serif'
  27.     Font.Style = []
  28.     ParentFont = False
  29.   end
  30.   object Label4: TLabel
  31.     Left = 51
  32.     Top = 364
  33.     Width = 77
  34.     Height = 13
  35.     Caption = 'Save options on'
  36.     Font.Color = clBlack
  37.     Font.Height = -11
  38.     Font.Name = 'MS Sans Serif'
  39.     Font.Style = []
  40.     ParentFont = False
  41.   end
  42.   object QualityLabel: TLabel
  43.     Left = 132
  44.     Top = 296
  45.     Width = 58
  46.     Height = 13
  47.     Caption = 'Quality save'
  48.     Font.Color = clBlack
  49.     Font.Height = -11
  50.     Font.Name = 'MS Sans Serif'
  51.     Font.Style = []
  52.     ParentFont = False
  53.   end
  54.   object SmoothLabel: TLabel
  55.     Left = 132
  56.     Top = 364
  57.     Width = 62
  58.     Height = 13
  59.     Caption = 'Smooth save'
  60.     Font.Color = clBlack
  61.     Font.Height = -11
  62.     Font.Name = 'MS Sans Serif'
  63.     Font.Style = []
  64.     ParentFont = False
  65.   end
  66.   object Gauge1: TGauge
  67.     Left = 183
  68.     Top = 270
  69.     Width = 314
  70.     Height = 13
  71.     BorderStyle = bsNone
  72.     ForeColor = clRed
  73.     BackColor = clBtnFace
  74.     Progress = 0
  75.   end
  76.   object Label9: TLabel
  77.     Left = 512
  78.     Top = -2
  79.     Width = 30
  80.     Height = 15
  81.     AutoSize = False
  82.     Caption = 'Width'
  83.   end
  84.   object Label10: TLabel
  85.     Left = 512
  86.     Top = 32
  87.     Width = 32
  88.     Height = 15
  89.     AutoSize = False
  90.     Caption = 'Height'
  91.   end
  92.   object Label11: TLabel
  93.     Left = 512
  94.     Top = 65
  95.     Width = 65
  96.     Height = 15
  97.     AutoSize = False
  98.     Caption = 'Bits per pixel'
  99.   end
  100.   object Label12: TLabel
  101.     Left = 512
  102.     Top = 99
  103.     Width = 31
  104.     Height = 15
  105.     AutoSize = False
  106.     Caption = 'Planes'
  107.   end
  108.   object Label13: TLabel
  109.     Left = 512
  110.     Top = 133
  111.     Width = 32
  112.     Height = 15
  113.     AutoSize = False
  114.     Caption = 'Colors'
  115.   end
  116.   object Label14: TLabel
  117.     Left = 512
  118.     Top = 166
  119.     Width = 27
  120.     Height = 15
  121.     AutoSize = False
  122.     Caption = 'Type'
  123.   end
  124.   object Label15: TLabel
  125.     Left = 512
  126.     Top = 199
  127.     Width = 64
  128.     Height = 15
  129.     AutoSize = False
  130.     Caption = 'Compression'
  131.   end
  132.   object Label8: TLabel
  133.     Left = 512
  134.     Top = 232
  135.     Width = 20
  136.     Height = 15
  137.     Caption = 'Size'
  138.   end
  139.   object MultiImage1: TMultiImage
  140.     Left = 185
  141.     Top = 19
  142.     Width = 312
  143.     Height = 241
  144.     Cursor = crCross
  145.     Center = True
  146.     JPegDither = 4
  147.     JPegResolution = 8
  148.     JPegSaveQuality = 25
  149.     JPegSaveSmooth = 0
  150.     ImageName = 'file not found'
  151.     OnClick = MultiImage1Click
  152.   end
  153.   object DriveComboBox1: TDriveComboBox
  154.     Left = 8
  155.     Top = 244
  156.     Width = 145
  157.     Height = 21
  158.     Color = 12639424
  159.     TabOrder = 0
  160.     OnChange = DriveComboBox1Change
  161.   end
  162.   object DirectoryListBox1: TDirectoryListBox
  163.     Left = 8
  164.     Top = 125
  165.     Width = 145
  166.     Height = 110
  167.     Color = 12639424
  168.     ItemHeight = 16
  169.     TabOrder = 1
  170.     OnChange = DirectoryListBox1Change
  171.   end
  172.   object FileListBox1: TFileListBox
  173.     Left = 8
  174.     Top = 17
  175.     Width = 145
  176.     Height = 97
  177.     Color = 12639424
  178.     ItemHeight = 16
  179.     Mask = '*.gif;*.jpg;*.pcx;*.bmp;*.wmf;*.ico;*.scm'
  180.     ShowGlyphs = True
  181.     TabOrder = 2
  182.     OnChange = FileListBox1Change
  183.   end
  184.   object Sstretch: TBiSwitch
  185.     Left = 8
  186.     Top = 312
  187.     Width = 33
  188.     Height = 49
  189.     ForeColor = clBlack
  190.     BackColor = clBtnFace
  191.     pOn = False
  192.     Font.Color = clBlack
  193.     Font.Height = -11
  194.     Font.Name = 'MS Sans Serif'
  195.     Font.Style = []
  196.     ParentFont = False
  197.     TabStop = True
  198.     TabOrder = 3
  199.     OnOn = SstretchOnOff
  200.     OnOff = SstretchOnOff
  201.   end
  202.   object SaveAs: TBiSwitch
  203.     Left = 70
  204.     Top = 312
  205.     Width = 33
  206.     Height = 49
  207.     ForeColor = clBlack
  208.     BackColor = clBtnFace
  209.     pOn = False
  210.     Font.Color = clBlack
  211.     Font.Height = -11
  212.     Font.Name = 'MS Sans Serif'
  213.     Font.Style = []
  214.     ParentFont = False
  215.     TabStop = True
  216.     TabOrder = 4
  217.     OnOn = setsavevisible
  218.     OnOff = setsavevisible
  219.   end
  220.   object SaveButton: TBitBtn
  221.     Left = 521
  222.     Top = 301
  223.     Width = 82
  224.     Height = 76
  225.     Caption = 'Save'
  226.     Font.Color = clBlack
  227.     Font.Height = -11
  228.     Font.Name = 'MS Sans Serif'
  229.     Font.Style = []
  230.     ParentFont = False
  231.     TabOrder = 5
  232.     OnClick = SaveButtonClick
  233.     Glyph.Data = {
  234.       78010000424D7801000000000000760000002800000020000000100000000100
  235.       04000000000000000000120B0000120B00000000000000000000000000000000
  236.       800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
  237.       FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333000000
  238.       033333FFFF77777773F330000077777770333777773FFFFFF733077777000000
  239.       03337F3F3F777777733F0797A770003333007F737337773F3377077777778803
  240.       30807F333333337FF73707888887880007707F3FFFF333777F37070000878807
  241.       07807F777733337F7F3707888887880808807F333333337F7F37077777778800
  242.       08807F333FFF337773F7088800088803308073FF777FFF733737300008000033
  243.       33003777737777333377333080333333333333F7373333333333300803333333
  244.       33333773733333333333088033333333333373F7F33333333333308033333333
  245.       33333737333333333333330333333333333333733333333333330000}
  246.     Layout = blGlyphTop
  247.     NumGlyphs = 2
  248.     Style = bsNew
  249.   end
  250.   object QualitySpin: TSpinEdit
  251.     Left = 132
  252.     Top = 314
  253.     Width = 49
  254.     Height = 24
  255.     Hint = '0 to 100 for jpeg saving quality'
  256.     AutoSize = False
  257.     Font.Color = clBlack
  258.     Font.Height = -11
  259.     Font.Name = 'MS Sans Serif'
  260.     Font.Style = []
  261.     MaxValue = 100
  262.     MinValue = 0
  263.     ParentFont = False
  264.     ParentShowHint = False
  265.     ShowHint = True
  266.     TabOrder = 6
  267.     Value = 25
  268.   end
  269.   object Smoothspin: TSpinEdit
  270.     Left = 132
  271.     Top = 336
  272.     Width = 49
  273.     Height = 24
  274.     Hint = '0 to 100 for jpeg smoothing quality'
  275.     AutoSize = False
  276.     Font.Color = clBlack
  277.     Font.Height = -11
  278.     Font.Name = 'MS Sans Serif'
  279.     Font.Style = []
  280.     MaxValue = 100
  281.     MinValue = 0
  282.     ParentFont = False
  283.     ParentShowHint = False
  284.     ShowHint = True
  285.     TabOrder = 7
  286.     Value = 0
  287.   end
  288.   object GroupBox1: TGroupBox
  289.     Left = 210
  290.     Top = 296
  291.     Width = 126
  292.     Height = 81
  293.     Caption = 'JPeg display resolution'
  294.     Font.Color = clBlack
  295.     Font.Height = -11
  296.     Font.Name = 'MS Sans Serif'
  297.     Font.Style = []
  298.     ParentFont = False
  299.     TabOrder = 8
  300.     object res4: TRadioButton
  301.       Left = 8
  302.       Top = 17
  303.       Width = 105
  304.       Height = 17
  305.       Hint = 
  306.         'Ideal with one pass dither to display images on a 16 color syste' +
  307.         'm'
  308.       Caption = '4 bit (16 colors)'
  309.       ParentShowHint = False
  310.       ShowHint = True
  311.       TabOrder = 0
  312.       OnClick = resClick
  313.     end
  314.     object res24: TRadioButton
  315.       Left = 8
  316.       Top = 61
  317.       Width = 105
  318.       Height = 17
  319.       Caption = '24 bit (true color)'
  320.       TabOrder = 1
  321.       OnClick = resClick
  322.     end
  323.     object res8: TRadioButton
  324.       Left = 8
  325.       Top = 38
  326.       Width = 105
  327.       Height = 17
  328.       Caption = '8 bit (256 colors)'
  329.       Checked = True
  330.       TabOrder = 2
  331.       TabStop = True
  332.       OnClick = resClick
  333.     end
  334.   end
  335.   object GroupBox2: TGroupBox
  336.     Left = 358
  337.     Top = 296
  338.     Width = 144
  339.     Height = 81
  340.     Caption = 'JPeg display dither'
  341.     Font.Color = clBlack
  342.     Font.Height = -11
  343.     Font.Name = 'MS Sans Serif'
  344.     Font.Style = []
  345.     ParentFont = False
  346.     TabOrder = 9
  347.     object Label5: TLabel
  348.       Left = 4
  349.       Top = 16
  350.       Width = 45
  351.       Height = 13
  352.       Caption = 'One pass'
  353.     end
  354.     object Label6: TLabel
  355.       Left = 56
  356.       Top = 16
  357.       Width = 46
  358.       Height = 13
  359.       Caption = 'Two pass'
  360.     end
  361.     object Label7: TLabel
  362.       Left = 115
  363.       Top = 16
  364.       Width = 26
  365.       Height = 13
  366.       Caption = 'None'
  367.     end
  368.     object DitherOneNo: TRadioButton
  369.       Left = 8
  370.       Top = 38
  371.       Width = 40
  372.       Height = 17
  373.       Hint = 'One pass no dithering'
  374.       Caption = 'No'
  375.       ParentShowHint = False
  376.       ShowHint = True
  377.       TabOrder = 0
  378.       OnClick = DitherClick
  379.     end
  380.     object DitherOneYes: TRadioButton
  381.       Left = 8
  382.       Top = 60
  383.       Width = 41
  384.       Height = 17
  385.       Hint = 'One pass with dithering'
  386.       Caption = 'Yes'
  387.       ParentShowHint = False
  388.       ShowHint = True
  389.       TabOrder = 1
  390.       OnClick = DitherClick
  391.     end
  392.     object DitherTwoNo: TRadioButton
  393.       Left = 59
  394.       Top = 39
  395.       Width = 40
  396.       Height = 17
  397.       Hint = 'Two pass no dithering'
  398.       Caption = 'No'
  399.       ParentShowHint = False
  400.       ShowHint = True
  401.       TabOrder = 2
  402.       OnClick = DitherClick
  403.     end
  404.     object DitherTwoYes: TRadioButton
  405.       Left = 59
  406.       Top = 60
  407.       Width = 40
  408.       Height = 17
  409.       Hint = 'Two pass FS dithering'
  410.       Caption = 'Yes'
  411.       Checked = True
  412.       ParentShowHint = False
  413.       ShowHint = True
  414.       TabOrder = 3
  415.       TabStop = True
  416.       OnClick = DitherClick
  417.     end
  418.     object Dither24Bit: TRadioButton
  419.       Left = 109
  420.       Top = 39
  421.       Width = 33
  422.       Height = 17
  423.       Hint = 'No dithering (24 bit)'
  424.       Caption = '24'
  425.       ParentShowHint = False
  426.       ShowHint = True
  427.       TabOrder = 4
  428.       OnClick = DitherClick
  429.     end
  430.   end
  431.   object Edit1: TEdit
  432.     Left = 512
  433.     Top = 14
  434.     Width = 80
  435.     Height = 15
  436.     AutoSize = False
  437.     Color = clFuchsia
  438.     Font.Color = clYellow
  439.     Font.Height = -12
  440.     Font.Name = 'Times New Roman'
  441.     Font.Style = []
  442.     ParentFont = False
  443.     ReadOnly = True
  444.     TabOrder = 10
  445.   end
  446.   object Edit2: TEdit
  447.     Left = 512
  448.     Top = 46
  449.     Width = 80
  450.     Height = 15
  451.     AutoSize = False
  452.     Color = clFuchsia
  453.     Font.Color = clYellow
  454.     Font.Height = -12
  455.     Font.Name = 'Times New Roman'
  456.     Font.Style = []
  457.     ParentFont = False
  458.     ReadOnly = True
  459.     TabOrder = 11
  460.   end
  461.   object Edit3: TEdit
  462.     Left = 512
  463.     Top = 81
  464.     Width = 80
  465.     Height = 15
  466.     AutoSize = False
  467.     Color = clFuchsia
  468.     Font.Color = clYellow
  469.     Font.Height = -12
  470.     Font.Name = 'Times New Roman'
  471.     Font.Style = []
  472.     ParentFont = False
  473.     ReadOnly = True
  474.     TabOrder = 12
  475.   end
  476.   object Edit4: TEdit
  477.     Left = 512
  478.     Top = 115
  479.     Width = 80
  480.     Height = 15
  481.     AutoSize = False
  482.     Color = clFuchsia
  483.     Font.Color = clYellow
  484.     Font.Height = -12
  485.     Font.Name = 'Times New Roman'
  486.     Font.Style = []
  487.     ParentFont = False
  488.     ReadOnly = True
  489.     TabOrder = 13
  490.   end
  491.   object Edit5: TEdit
  492.     Left = 512
  493.     Top = 148
  494.     Width = 80
  495.     Height = 15
  496.     AutoSize = False
  497.     Color = clFuchsia
  498.     Font.Color = clYellow
  499.     Font.Height = -12
  500.     Font.Name = 'Times New Roman'
  501.     Font.Style = []
  502.     ParentFont = False
  503.     ReadOnly = True
  504.     TabOrder = 14
  505.   end
  506.   object Edit6: TEdit
  507.     Left = 512
  508.     Top = 181
  509.     Width = 80
  510.     Height = 15
  511.     AutoSize = False
  512.     Color = clFuchsia
  513.     Font.Color = clYellow
  514.     Font.Height = -12
  515.     Font.Name = 'Times New Roman'
  516.     Font.Style = []
  517.     ParentFont = False
  518.     ReadOnly = True
  519.     TabOrder = 15
  520.   end
  521.   object Edit7: TEdit
  522.     Left = 512
  523.     Top = 215
  524.     Width = 80
  525.     Height = 15
  526.     AutoSize = False
  527.     Color = clFuchsia
  528.     Font.Color = clYellow
  529.     Font.Height = -12
  530.     Font.Name = 'Times New Roman'
  531.     Font.Style = []
  532.     ParentFont = False
  533.     ReadOnly = True
  534.     TabOrder = 16
  535.   end
  536.   object Edit8: TEdit
  537.     Left = 512
  538.     Top = 247
  539.     Width = 81
  540.     Height = 15
  541.     AutoSize = False
  542.     Color = clFuchsia
  543.     Font.Color = clYellow
  544.     Font.Height = -12
  545.     Font.Name = 'Times New Roman'
  546.     Font.Style = []
  547.     ParentFont = False
  548.     ReadOnly = True
  549.     TabOrder = 18
  550.   end
  551.   object GetInfoChecked: TCheckBox
  552.     Left = 512
  553.     Top = 272
  554.     Width = 81
  555.     Height = 17
  556.     Caption = 'Image Info'
  557.     State = cbChecked
  558.     TabOrder = 17
  559.     OnClick = GetInfoCheckedClick
  560.   end
  561.   object CheckBox1: TCheckBox
  562.     Left = 415
  563.     Top = 1
  564.     Width = 82
  565.     Height = 17
  566.     Caption = 'Center Image'
  567.     State = cbChecked
  568.     TabOrder = 19
  569.     OnClick = CheckBox1Click
  570.   end
  571.   object BitBtn1: TBitBtn
  572.     Left = 7
  573.     Top = 267
  574.     Width = 145
  575.     Height = 22
  576.     Caption = 'Create Message'
  577.     Font.Color = clBlack
  578.     Font.Height = -11
  579.     Font.Name = 'MS Sans Serif'
  580.     Font.Style = []
  581.     ParentFont = False
  582.     TabOrder = 21
  583.     OnClick = BitBtn1Click
  584.     Style = bsNew
  585.   end
  586.   object ScrollBar1: TScrollBar
  587.     Left = 175
  588.     Top = 21
  589.     Width = 9
  590.     Height = 238
  591.     Hint = 'Message speed'
  592.     Kind = sbVertical
  593.     Max = 11
  594.     ParentShowHint = False
  595.     Position = 5
  596.     ShowHint = True
  597.     TabOrder = 22
  598.     Visible = False
  599.     OnChange = ScrollBar1Change
  600.   end
  601.   object SaveDialog1: TSaveDialog
  602.     FileEditStyle = fsComboBox
  603.     Filter = 'jpeg|*.jpg|bitmap|*.bmp'
  604.     Options = [ofOverwritePrompt]
  605.     Title = 'Save as Jpeg or Bitmap'
  606.     Left = 252
  607.     Top = 20
  608.   end
  609.   object MainMenu1: TMainMenu
  610.     Left = 220
  611.     Top = 20
  612.     object N1: TMenuItem
  613.       Caption = '&File'
  614.       object O1: TMenuItem
  615.         Caption = '&Open'
  616.         OnClick = O1Click
  617.       end
  618.       object N2: TMenuItem
  619.         Caption = '&Save'
  620.         OnClick = SaveButtonClick
  621.       end
  622.       object N3: TMenuItem
  623.         Caption = '-'
  624.       end
  625.       object Print1: TMenuItem
  626.         Caption = '&Print'
  627.         OnClick = Print1Click
  628.       end
  629.       object PrintSetup1: TMenuItem
  630.         Caption = 'Print &Setup'
  631.         OnClick = PrintSetup1Click
  632.       end
  633.       object N5: TMenuItem
  634.         Caption = '-'
  635.       end
  636.       object CreateMessage1: TMenuItem
  637.         Caption = '&Create Message'
  638.         OnClick = BitBtn1Click
  639.       end
  640.       object N4: TMenuItem
  641.         Caption = '-'
  642.       end
  643.       object E1: TMenuItem
  644.         Caption = 'E&xit'
  645.         OnClick = E1Click
  646.       end
  647.     end
  648.     object Edit9: TMenuItem
  649.       Caption = '&Edit'
  650.       object Cut1: TMenuItem
  651.         Caption = '&Cut'
  652.         OnClick = Cut1Click
  653.       end
  654.       object Copy1: TMenuItem
  655.         Caption = 'C&opy'
  656.         OnClick = Copy1Click
  657.       end
  658.       object Paste1: TMenuItem
  659.         Caption = '&Paste'
  660.         OnClick = Paste1Click
  661.       end
  662.     end
  663.     object A1: TMenuItem
  664.       Caption = '&About'
  665.       OnClick = A1Click
  666.     end
  667.   end
  668.   object OpenDialog1: TOpenDialog
  669.     FileEditStyle = fsComboBox
  670.     Filter = 
  671.       'jpeg|*.jpg|bitmap|*.bmp|gif|*.gif|pcx|*.pcx|metafile|*.wmf|icon|' +
  672.       '*.ico|all images|*.jpg;*.bmp;*.gif;*.pcx;*.wmf;*.ico'
  673.     Options = [ofReadOnly]
  674.     Title = 'Open images'
  675.     Left = 186
  676.     Top = 20
  677.   end
  678.   object PrinterSetupDialog1: TPrinterSetupDialog
  679.     Left = 279
  680.     Top = 20
  681.   end
  682.   object PrintDialog1: TPrintDialog
  683.     Options = [poPageNums, poSelection, poWarning]
  684.     PrintRange = prSelection
  685.     Left = 308
  686.     Top = 20
  687.   end
  688. end
  689.